package com.weibotwo.pojo;
/**
 * 问题悬赏积分类
 * @author 天火
 * @date 2019-02-27
 * @version 1.0
 */
public class Shell {

	private long id;

	private long userId;

	private long adoptId;

	private int sNumber;



	/**
	 * 	conchBody
	 * 	悬赏积分数
	 */
	private String shellBody;


	/**
	 * 	conchTime
	 * 	问题内容
	 */
	private String shellTime;

	private int state;	//状态 0未解决	1解决
	
	private User chUser;
	
	public Shell() {
	}

	public Shell(long id, long userId, int sNumber, String shellBody, String shellTime, int state) {
		this.id = id;
		this.userId = userId;
		this.sNumber = sNumber;
		this.shellBody = shellBody;
		this.shellTime = shellTime;
		this.state = state;
	}

	public Shell(long userId, long adoptId, int sNumber, String shellBody, String shellTime, int state, User chUser) {
		this.userId = userId;
		this.adoptId = adoptId;
		this.sNumber = sNumber;
		this.shellBody = shellBody;
		this.shellTime = shellTime;
		this.state = state;
		this.chUser = chUser;
	}

	
	
	public long getAdoptId() {
		return adoptId;
	}

	public void setAdoptId(long adoptId) {
		this.adoptId = adoptId;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public int getsNumber() {
		return sNumber;
	}

	public void setsNumber(int sNumber) {
		this.sNumber = sNumber;
	}


	public String getShellBody() {
		return shellBody;
	}

	public void setShellBody(String shellBody) {
		this.shellBody = shellBody;
	}

	public String getShellTime() {
		return shellTime;
	}

	public void setShellTime(String shellTime) {
		this.shellTime = shellTime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public User getChUser() {
		return chUser;
	}

	public void setChUser(User chUser) {
		this.chUser = chUser;
	}

	@Override
	public String toString() {
		return "Shell [id=" + id + ", userId=" + userId + ", sNumber=" + sNumber + ", shellBody=" + shellBody
				+ ", shellTime=" + shellTime + ", state=" + state + ", chUser=" + chUser + "]";
	}
	
}
